﻿
module JsonTest

open System
open System.Text.Json

type workCycle() = 
    member val A = 0 with get, set
    member val B = "" with get, set
    member val C = Array.empty<int> with get, set

let deserialize = JsonSerializer.Deserialize<workCycle>("""{"A":5, "B":"abc", "C":[9, 8]}""")

let serialize obj = JsonSerializer.Serialize(obj)
